json.array!(@invoice_details) do |invoice_detail|
  json.extract! invoice_detail, :id, :invoice_id, :invoice_item_id, :invoice_item_type_id, :fee, :discount, :created_at, :updated_at, :created_by, :updated_by
  json.url invoice_detail_url(invoice_detail, format: :json)
end
